from recruit.adapter.database.models import Base
from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column


class Model(Base):
    id: Mapped[int] = mapped_column(primary_key=True)


def test_base() -> None:
    assert issubclass(Base, DeclarativeBase)
    assert Model.__tablename__ == 'model'
